﻿using MediatR;
using Provenance.ErrorCount;

namespace Provenance.Write.Api.Application.Command.User
{
    public class InsertPermissionCommand : IRequest<ApiResult>
    {
        public string PermissionName { get; set; } = string.Empty;
        public int ParentId { get; set; }
        public string Path { get; set; } = string.Empty;
        public string Name { get; set; } = string.Empty;
        public string Component { get; set; } = string.Empty;
    }
}
